import request from '@/utils/request'

// 查询应急事件信息列表
export function listStatus(query,data) {
  return request({
    url: '/event/manager/event/listStatus',
    method: 'post',
    params: query,
		data: data
  })
}

// 首页右边数量查询
export function eventStatistics() {
  return request({
    url: '/event/manager/event/eventStatistics',
    method: 'get'
  })
}

// 重新发送语音
export function resendCall(id) {
  return request({
    url: '/event/eventVoiceInfo/resendCall/'+ id,
    method: 'get'
  })
}

// 七天路段事故类型统计
export function eventStatisticsChart(data) {
  return request({
    url: '/event/manager/event/eventStatisticsChart',
    method: 'post',
    data: data
  })
}